]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: tcmu: misc nl code cleanup
authorMike Christie <mchristi@redhat.com>
Fri, 22 Jun 2018 21:40:21 +0000 (16:40 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Jun 2018 16:27:06 +0000 (12:27 -0400)
commit82a1df493e44e317df2716373fcfd89450a1afc3
tree9790afbb7416a416998b05f26330c4ae1fa10868
parent3e21876fb06b99998d4a38922f8e5e26488b7e4d
scsi: tcmu: misc nl code cleanup

Some misc cleanup of the nl rework patches.

1. Fix space instead of tabs use and extra newline

2. Drop initializing variables to 0 when not needed

3. Just pass the skb_buff and msg_header pointers to
   tcmu_netlink_event_send.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Tested-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_user.c