From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932267AbbBCJiD (ORCPT ); Tue, 3 Feb 2015 04:38:03 -0500 Received: from hofr.at ([212.69.189.236]:47153 "EHLO mail.hofr.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752461AbbBCJiA (ORCPT ); Tue, 3 Feb 2015 04:38:00 -0500 Date: Tue, 3 Feb 2015 10:37:58 +0100 From: Nicholas Mc Guire To: "James E.J. Bottomley" Cc: Helge Deller , Dan Carpenter , linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: RFC arch/sh/kernel/traps_64.c - unclear if/else construct Message-ID: <20150203093758.GA27963@opentech.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi ! scanning for if STATEMENT else STATEMENT triggered here - and it does look like it needs a fix-up or at least some comments. The if-else here has no effect and the printk will not convey any information as its always fstype==0, finally the return statement comment indicates that it should not be the default... Can't come up with a reasonable cleanup patch here - but this looks like it needs a review. thx! hofrat