diff options
| author | Bart Van Assche <[email protected]> | 2017-08-25 13:46:35 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-08-25 17:08:08 -0400 |
| commit | 830cc351bc3c7f867daf92f17992bca34a647d8c (patch) | |
| tree | bd678a8a902c6c113e5202ad01dd2c1fa9eaf433 /tools/perf/scripts/python | |
| parent | ed91f7ed38a57df422590b0250ae9ab678197777 (diff) | |
scsi: sd: Remove a useless comparison
This patch avoids that gcc reports the following warning when
building with W=1:
drivers/scsi/sd.c:315:10: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
if (val >= 0 && val <= T10_PI_TYPE3_PROTECTION)
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions