net: Document that dev_get_stats() returns the given pointer
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 9 Jul 2010 09:12:41 +0000 (09:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Jul 2010 00:41:57 +0000 (17:41 -0700)
commitd77535162e736c47978d5c01469c56e1781dc91b
tree7210d55197b283c72bb8c74a0aeb8cd386b21a74
parent3cfde79c6c7c8002375c4a8e5be7f602fbb9675d
net: Document that dev_get_stats() returns the given pointer

Document that dev_get_stats() returns the same stats pointer it was
given.  Remove const qualification from the returned pointer since the
caller may do what it likes with that structure.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c