From: Heena Sirwani Date: Mon, 29 Sep 2014 08:21:51 +0000 (+0530) Subject: Staging: bcm: Removed unnecessary else. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e31981a13dcef28fcbe18d274375a8cc081843d6;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Staging: bcm: Removed unnecessary else. The following patch fixes the checkpatch.pl warning: WARNING: else is not generally useful after a break or return. Signed-off-by: Heena Sirwani Reviewed-by: Josh Triplett Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/bcm/InterfaceIdleMode.c b/drivers/staging/bcm/InterfaceIdleMode.c index e075f0e8ccea..612c89fba341 100644 --- a/drivers/staging/bcm/InterfaceIdleMode.c +++ b/drivers/staging/bcm/InterfaceIdleMode.c @@ -188,8 +188,8 @@ static int InterfaceAbortIdlemode(struct bcm_mini_adapter *Adapter, 5000); if (status) return status; - else - BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, + + BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, IDLE_MODE, DBG_LVL_ALL, "NOB Sent down :%d", lenwritten);