Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1355e53 authored by Andrew Morton's avatar Andrew Morton Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (7800): tuner_symbol_probe(): don't do symbol_put() if symbol_request() failed

parent 9604006d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,11 +40,11 @@
	typeof(&FUNCTION) __a = symbol_request(FUNCTION); \
	if (__a) { \
		__r = (int) __a(ARGS); \
		symbol_put(FUNCTION); \
	} else { \
		printk(KERN_ERR "TUNER: Unable to find " \
				"symbol "#FUNCTION"()\n"); \
	} \
	symbol_put(FUNCTION); \
	__r; \
})