]> err.no Git - linux-2.6/commit
[CAN]: Clean up module auto loading
authorUrs Thuermann <urs.thuermann@volkswagen.de>
Fri, 8 Feb 2008 02:04:21 +0000 (18:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2008 02:04:21 +0000 (18:04 -0800)
commit5423dd67bd0108a180784c6f307646622e804c9b
treeef47886838e7a6b9fddf3f6b59a2bbea8828b66f
parent5f58a5c8725b48f3e32851f9748527c8d1ff71b2
[CAN]: Clean up module auto loading

Remove local char array to construct module name.
Don't call request_module() when CONFIG_KMOD is not set.

Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
Signed-off-by: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/af_can.c