Re: [PATCH v2 2/5] staging: dgap: tty.c: removes smatch warning "ignoring unreachable code"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 25, 2013 at 07:08:51PM -0400, Lidza Louina wrote:
> This patch removes this smatch warning:
> info: ignoring unreachable code.
> 
> There were instances where there was extra code after
> the default action in switch statements. These default
> actions ended with a break so the code wasn't being run
> at anytime. This patch removes that extra code.
> Signed-off-by: Lidza Louina <lidza.louina@xxxxxxxxx>
> ---
>  drivers/staging/dgap/dgap_tty.c | 13 -------------
>  1 file changed, 13 deletions(-)

I've already applied this one, thanks.

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux