linux-4.7-rc1/drivers/isdn/capi/capidrv.c:1707]: (style) Redundant condition

From: David Binderman <hidden>
Date: 2016-05-30 07:52:33

Hello there,

linux-4.7-rc1/drivers/isdn/capi/capidrv.c:1707]: (style) Redundant
condition: If 'EXPR == ' '', the comparison 'EXPR' is always true.

Source code is

   while (*s && *s == ' ') s++;

Suggest new code

   while (*s == ' ') s++;


Regards

David Binderman
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help