linux/drivers/block
Nathan Chancellor 798ef9e701 rsxx: Remove unnecessary parentheses
Clang warns when more than one set of parentheses is used for a
single conditional statement:

drivers/block/rsxx/cregs.c:279:15: warning: equality comparison with
extraneous parentheses [-Wparentheses-equality]
        if ((cmd->op == CREG_OP_READ)) {
             ~~~~~~~~^~~~~~~~~~~~~~~
drivers/block/rsxx/cregs.c:279:15: note: remove extraneous parentheses
around the comparison to silence this warning
        if ((cmd->op == CREG_OP_READ)) {
            ~        ^              ~
drivers/block/rsxx/cregs.c:279:15: note: use '=' to turn this equality
comparison into an assignment
        if ((cmd->op == CREG_OP_READ)) {
                     ^~
                     =
1 warning generated.

Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-09-11 16:56:39 -06:00
..
aoe
drbd drbd: Convert from ahash to shash 2018-09-06 15:12:24 -06:00
mtip32xx
paride
rsxx rsxx: Remove unnecessary parentheses 2018-09-11 16:56:39 -06:00
xen-blkback xen/blkback: remove unused pers_gnts_lock from struct xen_blkif_ring 2018-08-27 12:12:04 -04:00
zram
DAC960.c
DAC960.h
Kconfig
Makefile
amiflop.c
ataflop.c
brd.c
cryptoloop.c
floppy.c
loop.c
loop.h
nbd.c nbd: don't allow invalid blocksize settings 2018-09-04 11:54:58 -06:00
null_blk.h
null_blk_main.c
null_blk_zoned.c
pktcdvd.c
ps3disk.c
ps3vram.c
rbd.c
rbd_types.h
skd_main.c
skd_s1120.h
sunvdc.c
swim.c
swim3.c
swim_asm.S
sx8.c
umem.c block: umem: replace spin_lock_bh with spin_lock in tasklet callback 2018-09-07 11:34:24 -06:00
umem.h
virtio_blk.c
xen-blkfront.c xen/blkfront: reorder tests in xlblk_init() 2018-08-27 12:12:03 -04:00
xsysace.c
z2ram.c