summaryrefslogtreecommitdiff
path: root/ring.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-07-13 16:02:30 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-07-13 16:13:47 +0200
commitbc1a4990f32c00d53a76aa0742358e094b564a8a (patch)
tree9d655a3cf718ad63684179144134ff4c7fac115d /ring.h
parent86373411a23051a18ae3ed01b180f838dbcd76e7 (diff)
ifpps: Use unsigned int to store number of CPUs
Since get_number_cpus() now returns unsigned int store it's return value and derived values in unsigned int variables as well. This fixes the some warnings when compiling with -W/-Wsign-compare: Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ring.h')
0 files changed, 0 insertions, 0 deletions
rivate-remove&id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf&id2=370ebb0ef6255132373ed35d13e7b1d8d2eb7003'>diff)
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'arch/arc/include/asm/mmu.h')