[PATCH] netlink: Clean up errors in scsi_netlink.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix the following errors reported by checkpatch:

ERROR: else should follow close brace '}'

Signed-off-by: GuoHua Cheng <chenguohua@xxxxxxx>
---
 drivers/scsi/scsi_netlink.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/scsi/scsi_netlink.c b/drivers/scsi/scsi_netlink.c
index d7f76fd84256..5ff22fe93277 100644
--- a/drivers/scsi/scsi_netlink.c
+++ b/drivers/scsi/scsi_netlink.c
@@ -91,8 +91,7 @@ scsi_nl_rcv_msg(struct sk_buff *skb)
 			if (err)
 				printk(KERN_WARNING "%s: Msgtype %d failed - err %d\n",
 				       __func__, hdr->msgtype, err);
-		}
-		else
+		} else
 			err = -ENOENT;
 
 next_msg:
-- 
2.17.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux