diff options
| author | Bart Van Assche <[email protected]> | 2020-06-29 15:54:48 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-06-30 23:12:19 -0400 |
| commit | 2f91a0a03c2da5140994d7b3d53469d07df9943c (patch) | |
| tree | 4d10c3ce2b107780b30be865d62a1fed67df07f1 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | f1e12bee55e6eb28a53662765d5d2d96fa0247b1 (diff) | |
scsi: qla2xxx: Make qla82xx_flash_wait_write_finish() easier to read
Return early instead of having a single return statement at the end of this
function. This patch fixes the following sparse warning:
qla_nx.c:1018: qla82xx_flash_wait_write_finish() error: uninitialized symbol 'val'.
Link: https://lore.kernel.org/r/[email protected]
Cc: Nilesh Javali <[email protected]>
Cc: Quinn Tran <[email protected]>
Cc: Himanshu Madhani <[email protected]>
Cc: Martin Wilck <[email protected]>
Cc: Roman Bolshakov <[email protected]>
Reviewed-by: Daniel Wagner <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions