Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] megaraid_sas: make 2 functions static

This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: "Patro, Sumant" <Sumant.Patro@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

authored by

Adrian Bunk and committed by
James Bottomley
b448de47 d915058f

+2 -2
+2 -2
drivers/scsi/megaraid/megaraid_sas.c
··· 517 517 * Returns the number of frames required for numnber of sge's (sge_count) 518 518 */ 519 519 520 - u32 megasas_get_frame_count(u8 sge_count) 520 + static u32 megasas_get_frame_count(u8 sge_count) 521 521 { 522 522 int num_cnt; 523 523 int sge_bytes; ··· 1733 1733 * 1734 1734 * Tasklet to complete cmds 1735 1735 */ 1736 - void megasas_complete_cmd_dpc(unsigned long instance_addr) 1736 + static void megasas_complete_cmd_dpc(unsigned long instance_addr) 1737 1737 { 1738 1738 u32 producer; 1739 1739 u32 consumer;