[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B1778EB.3070605@redhat.com>
Date: Thu, 03 Dec 2009 16:38:03 +0800
From: Cong Wang <amwang@...hat.com>
To: James Morris <jmorris@...ei.org>
CC: Joe Perches <joe@...ches.com>, linux-kernel@...r.kernel.org,
Eric Paris <eparis@...isplace.org>,
linux-security-module@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [Patch] selinux: remove an unreachable line
James Morris wrote:
> On Tue, 1 Dec 2009, Cong Wang wrote:
>
>>>> default:
>>>> return -EINVAL;
>>>> }
>>>> - return -EINVAL;
>>>> }
>>> I think it's better to remove the default case.
>>>
>> This is totally a personal taste, I think.
>> Either is OK. James, any comments?
>
> Leave the default: there but with a comment /* fall through */
> instead of the return.
>
Ok, will do, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists