android_kernel_motorola_sm6225/drivers/scsi/bnx2fc
Christophe JAILLET 393c8019e9 scsi: bnx2fc: Simplify code
Calling 'list_splice' followed by 'INIT_LIST_HEAD' is equivalent to
'list_splice_init'.

This has been spotted with the following coccinelle script:
/////
@@
expression y,z;
@@

-   list_splice(y,z);
-   INIT_LIST_HEAD(y);
+   list_splice_init(y,z);

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-09-09 07:08:30 -04:00
..
57xx_hsi_bnx2fc.h bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
bnx2fc.h bnx2fc: Update version number to 2.10.3. 2016-04-15 16:53:11 -04:00
bnx2fc_constants.h bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
bnx2fc_debug.c bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
bnx2fc_debug.h bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
bnx2fc_els.c bnx2fc: Remove explicit logouts. 2015-11-09 17:31:34 -08:00
bnx2fc_fcoe.c scsi: bnx2fc: Simplify code 2016-09-09 07:08:30 -04:00
bnx2fc_hwi.c bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
bnx2fc_io.c bnx2fc: replace printk() with BNX2FC_IO_DBG() 2016-07-12 23:16:31 -04:00
bnx2fc_tgt.c bnx2fc: Remove explicit logouts. 2015-11-09 17:31:34 -08:00
Kconfig bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
Makefile [SCSI] bnx2fc: Reduce object size by consolidating formats 2012-07-20 08:58:17 +01:00