aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Barnett <kevin.barnett@microsemi.com>2016-08-31 15:54:59 -0400
committerMartin K. Petersen <martin.petersen@oracle.com>2016-09-02 06:21:38 -0400
commitdf7a1fcfc4761e658b60739e2ff4cd148afcae89 (patch)
tree64d6644f0176c6627fe0f9698c045f794bd28e53
parent5e6429df9c8b3ab9e0a8d18af5248692ebe41871 (diff)
scsi: smartpqi: minor function reformating
reformatted pqi_num_elements_free() to match the rest of the driver Reviewed-by: Scott Teel <scott.teel@microsemi.com> Reviewed-by: Scott Benesh <scott.benesh@microsemi.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Kevin Barnett <kevin.barnett@microsemi.com> Signed-off-by: Don Brace <don.brace@microsemi.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/smartpqi/smartpqi_init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c
index ea822b19b349..bfd2d75463c5 100644
--- a/drivers/scsi/smartpqi/smartpqi_init.c
+++ b/drivers/scsi/smartpqi/smartpqi_init.c
@@ -2576,8 +2576,7 @@ static unsigned int pqi_process_io_intr(struct pqi_ctrl_info *ctrl_info,
2576} 2576}
2577 2577
2578static inline unsigned int pqi_num_elements_free(unsigned int pi, 2578static inline unsigned int pqi_num_elements_free(unsigned int pi,
2579 unsigned int ci, 2579 unsigned int ci, unsigned int elements_in_queue)
2580 unsigned int elements_in_queue)
2581{ 2580{
2582 unsigned int num_elements_used; 2581 unsigned int num_elements_used;
2583 2582