https://github.com/torvalds/linux
Revision 31a184b7acbc06d894c562ef884a94d6d78d0236 authored by Karicheri, Muralidharan on 28 July 2015, 22:20:14 UTC, committed by David S. Miller on 30 July 2015, 01:37:41 UTC
This patch clean up error handle code to use goto label properly. In some
cases, the code unnecessarily use goto instead of just returning the error
code.  Code also make explicit calls to devm_* APIs on error which is
not necessary. In the gbe_remove() also it makes similar calls which is
also unnecessary.

Also fix few checkpatch warnings

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c20afae
History
Tip revision: 31a184b7acbc06d894c562ef884a94d6d78d0236 authored by Karicheri, Muralidharan on 28 July 2015, 22:20:14 UTC
net: netcp: ethss: cleanup gbe_probe() and gbe_remove() functions
Tip revision: 31a184b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.7 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 313.1 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top