]> bbs.cooldavid.org Git - net-next-2.6.git/commit
vmxnet3: make bit twiddle routines inline
authorstephen hemminger <shemminger@vyatta.com>
Fri, 15 Oct 2010 11:06:20 +0000 (11:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Oct 2010 10:09:44 +0000 (03:09 -0700)
commitae316bb57d25d73ae9c1ddc9c59fe56d733849bf
tree8840e2675b2d2c04ccaf35390227272c14cb6dd7
parent379b7383413d883ffc4db55914626ca303e6f7f5
vmxnet3: make bit twiddle routines inline

Gcc doesn't usually handle inline across compilation units, and the
functions don't have to be global in scope. Move the set/reset flag
functions int the existing vmxnet3 header.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c
drivers/net/vmxnet3/vmxnet3_int.h