mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
5e6429df9c
commit
df7a1fcfc4
|
@ -2576,8 +2576,7 @@ static unsigned int pqi_process_io_intr(struct pqi_ctrl_info *ctrl_info,
|
|||
}
|
||||
|
||||
static inline unsigned int pqi_num_elements_free(unsigned int pi,
|
||||
unsigned int ci,
|
||||
unsigned int elements_in_queue)
|
||||
unsigned int ci, unsigned int elements_in_queue)
|
||||
{
|
||||
unsigned int num_elements_used;
|
||||
|
||||
|
|
Loading…
Reference in New Issue