staging: wlan-ng: small cleanup in plugimage()
authorArchana <craechal@gmail.com>
Sat, 11 Mar 2023 12:12:53 +0000 (12:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Mar 2023 08:43:51 +0000 (09:43 +0100)
commit238f55be3eaf73b161739a4a61ddb3291a42b909
tree6bdfc8c7238f54e8cf66b931e1c3f77a1700758e
parent95a4919ab7328cb9442c0f8f1cfe5c3931f007f1
staging: wlan-ng: small cleanup in plugimage()

It's cleaner to set "j = -1;" before the if block and remove the else
statement.

Signed-off-by: Archana <craechal@gmail.com>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/r/20230311121253.10225-2-craechal@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2fw.c