From: Kevin Barnett <kevin.barnett@xxxxxxxxxxxxx> A tiny tweak to convert a small, commonly used function to inline. Reviewed-by: Scott Teel <scott.teel@xxxxxxxxxxxxx> Reviewed-by: Scott Benesh <scott.benesh@xxxxxxxxxxxxx> Signed-off-by: Kevin Barnett <kevin.barnett@xxxxxxxxxxxxx> Signed-off-by: Don Brace <don.brace@xxxxxxxxxxxxx> --- drivers/scsi/smartpqi/smartpqi_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c index dbc8b40..2656124 100644 --- a/drivers/scsi/smartpqi/smartpqi_init.c +++ b/drivers/scsi/smartpqi/smartpqi_init.c @@ -316,7 +316,7 @@ static struct pqi_io_request *pqi_alloc_io_request( return io_request; } -static void pqi_free_io_request(struct pqi_io_request *io_request) +static inline void pqi_free_io_request(struct pqi_io_request *io_request) { atomic_dec(&io_request->refcount); } -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html