lkml.org 
[lkml]   [2016]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] mfd: arizona: Remove pointless switch case
From
Date
Hi all!

On Fri, 2016-07-22 at 16:58 +0100, Charles Keepax wrote:
[...]
>   case IRQF_TRIGGER_RISING:
>   case IRQF_TRIGGER_FALLING:
>   break;
> -
> - case IRQ_TYPE_NONE:
>   default:

Don't know about the kernels coding rule in that case but personally, I
use that style to explicit list all enum/#define values so that it is
obvious that none was forgotten.
For the compiler output, it shouldn't matter anyways ...

MfG,
Bernd
--
mobile: +43 664 4416156 http://www.sysprog.at/
Linux Software Development, Consulting and Services


\
 
 \ /
  Last update: 2016-07-23 20:41    [W:0.493 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site