usb/host/ohci-tmio.c:105: bad switch statement

2012-08-06 Thread David Binderman
Hello there, I just ran the static analyser cppcheck over the source code of the linux kernel version 3.6-rc1. It said linux-3.6-rc1/drivers/usb/host/ohci-tmio.c:105]: (warning) Redundant bitwise operation on pm in switch The source code is switch (ohci-num_ports) { default:

Re: usb/host/ohci-tmio.c:105: bad switch statement

2012-08-06 Thread Alan Stern
On Mon, 6 Aug 2012, David Binderman wrote: Hello there, I just ran the static analyser cppcheck over the source code of the linux kernel version 3.6-rc1. It said linux-3.6-rc1/drivers/usb/host/ohci-tmio.c:105]: (warning) Redundant bitwise operation on pm in switch The source code