From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752931AbcGVP6s (ORCPT ); Fri, 22 Jul 2016 11:58:48 -0400 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:36108 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751833AbcGVP6r (ORCPT ); Fri, 22 Jul 2016 11:58:47 -0400 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.wolfsonmicro.com From: Charles Keepax To: CC: , Subject: [PATCH] mfd: arizona: Remove pointless switch case Date: Fri, 22 Jul 2016 16:58:53 +0100 Message-ID: <1469203133-21491-1-git-send-email-ckeepax@opensource.wolfsonmicro.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1607220181 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no point in having an explicit case that does nothing but falls through to the default, simply remove the redundant case. Signed-off-by: Charles Keepax --- drivers/mfd/arizona-irq.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c index 5e18d3c..e54aa55 100644 --- a/drivers/mfd/arizona-irq.c +++ b/drivers/mfd/arizona-irq.c @@ -286,8 +286,6 @@ int arizona_irq_init(struct arizona *arizona) case IRQF_TRIGGER_RISING: case IRQF_TRIGGER_FALLING: break; - - case IRQ_TYPE_NONE: default: /* Device default */ arizona->pdata.irq_flags = IRQF_TRIGGER_LOW; -- 2.1.4