mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
drivers/scsi/megaraid: remove expensive inline from megasas_return_cmd
Remove an inline from a fairly big function that is used often. It's
unlikely that calling or not calling it makes a lot of difference.
Saves around 8k text in my kernel.
text data bss dec hex filename
9047801 5367568 11116544 25531913 1859609 vmlinux-before-megasas
9039417 5367568 11116544 25523529 1857549 vmlinux-megasas
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Andi Kleen <[email protected]>
Cc: Kashyap Desai <[email protected]>
Cc: Sumit Saxena <[email protected]>
Cc: James Bottomley <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ec48c940da
commit
68b43744c1
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ struct megasas_cmd *megasas_get_cmd(struct megasas_instance
|
|||
* @instance: Adapter soft state
|
||||
* @cmd: Command packet to be returned to free command pool
|
||||
*/
|
||||
inline void
|
||||
void
|
||||
megasas_return_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd)
|
||||
{
|
||||
unsigned long flags;
|
||||
|
|
|
|||
Loading…
Reference in a new issue