diff options
author | Tillmann Heidsieck | 2015-09-23 22:07:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-09-29 04:19:27 +0200 |
commit | c739c987c1e19b924b252ebb12ffeac3ef9b1d5c (patch) | |
tree | efab9fa5bc996b5ff9a9c4bcb82ace58a62acd51 /drivers/scsi/53c700_d.h_shipped | |
parent | staging: wlan-ng fix buffer overflow in firmware handling (diff) | |
download | kernel-qcow2-linux-c739c987c1e19b924b252ebb12ffeac3ef9b1d5c.tar.gz kernel-qcow2-linux-c739c987c1e19b924b252ebb12ffeac3ef9b1d5c.tar.xz kernel-qcow2-linux-c739c987c1e19b924b252ebb12ffeac3ef9b1d5c.zip |
staging: wlan-ng remove redundant conditional
We exit the above loop either if curroff >= (HFA384x_PDA_LEN_MAX / 2 - 1)
or if we found the END marker in the element beyond the current one. The
first case is checked for in the preceding if statement, therefore the
second if statement is redundant and can be removed.
Signed-off-by: Tillmann Heidsieck <theidsieck@leenox.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/53c700_d.h_shipped')
0 files changed, 0 insertions, 0 deletions