[PATCH v2] Staging: rtl8712: Removed unused return variable

Dan Carpenter dan.carpenter at oracle.com
Thu Apr 23 15:57:13 UTC 2015


This patch is a coccinelle thing, the reasoning behind it is that
literals are more clear than variables.

	return status; <-- Ambiguous.  This could be returning anything,
			   you have to look at the context.

	return 0;  <-- Clear.

regards,
dan carpenter



More information about the devel mailing list