From: Guillaume Clement Date: Thu, 24 Jul 2014 23:06:23 +0000 (+0200) Subject: staging: vt6655: Remove unreachable break statements X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cef27eae2f8a620d744d8f00074f70032e51ee42;p=linux-beck.git staging: vt6655: Remove unreachable break statements This fixes break "break is not useful after a goto or return" checkpatch warnings. Signed-off-by: Guillaume Clement Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/rf.c b/drivers/staging/vt6655/rf.c index d2d7dff3dce7..42b257f916d3 100644 --- a/drivers/staging/vt6655/rf.c +++ b/drivers/staging/vt6655/rf.c @@ -873,11 +873,9 @@ bool RFvWriteWakeProgSyn(void __iomem *dwIoBase, unsigned char byRFType, unsigne case RF_NOTHING: return true; - break; default: return false; - break; } MACvSetMISCFifo(dwIoBase, MISCFIFO_SYNINFO_IDX, (unsigned long)MAKEWORD(bySleepCount, byInitCount)); diff --git a/drivers/staging/vt6655/wpa.c b/drivers/staging/vt6655/wpa.c index 505c89592057..2bd9e1fc0608 100644 --- a/drivers/staging/vt6655/wpa.c +++ b/drivers/staging/vt6655/wpa.c @@ -262,7 +262,6 @@ WPA_SearchRSN( return false; } return true; - break; default: break;