]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: move un-exported routines from be.h to respective src files
authorSathya Perla <sathya.perla@emulex.com>
Fri, 6 Feb 2015 13:18:35 +0000 (08:18 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Feb 2015 06:50:57 +0000 (22:50 -0800)
commitfbf2758a3759a5815a8e769f89910dd56141cdac
treefd7983d7a5b9d9d7387cc719a04ae3afa2a55e51
parente48ea714d567909a506bf93e115281cff171b9e2
be2net: move un-exported routines from be.h to respective src files

Routines that are called only inside one src file must remain in that
file itself. Including them in a header file that is used for exporting
routine/struct definitions, causes unnecessary compilation of other
src files, when such a routine is modified.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_main.c