staging: qlge: Avoid multiplication while keep the same logic
authorBinyi Han <dantengknight@gmail.com>
Wed, 13 Jul 2022 08:00:23 +0000 (01:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Jul 2022 13:46:58 +0000 (15:46 +0200)
commit4cdb845db3217091737159908fcba1f643d818a1
tree6ee368803dca4179004992499487f5aa6cfecc2d
parentf39b6c58d8550ddcbd9907fd0818990d0be384c4
staging: qlge: Avoid multiplication while keep the same logic

Avoid the more expensive multiplication while keep the same logic.

Signed-off-by: Binyi Han <dantengknight@gmail.com>
Link: https://lore.kernel.org/r/31fe21bf4a9e8f13cf27bd50073e9d5d197654ea.1657697683.git.dantengknight@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/qlge/qlge_main.c