On Tue, Jul 17, 2018 at 4:12 AM, Dan Carpenter wrote:
> On Tue, Jul 17, 2018 at 01:13:29PM +0300, Dan Carpenter wrote:
>> On Mon, Jul 16, 2018 at 07:09:06PM -0700, Todd Poynor wrote:
>> > From: Todd Poynor
>> >
>> > Return right away instead of break out of while and then return.
>> >
>>
>
>
On Tue, Jul 17, 2018 at 4:12 AM, Dan Carpenter wrote:
> On Tue, Jul 17, 2018 at 01:13:29PM +0300, Dan Carpenter wrote:
>> On Mon, Jul 16, 2018 at 07:09:06PM -0700, Todd Poynor wrote:
>> > From: Todd Poynor
>> >
>> > Return right away instead of break out of while and then return.
>> >
>>
>
>
On Tue, Jul 17, 2018 at 3:13 AM, Dan Carpenter wrote:
> On Mon, Jul 16, 2018 at 07:09:06PM -0700, Todd Poynor wrote:
>> From: Todd Poynor
>>
>> Return right away instead of break out of while and then return.
>>
>
> You could remove the (retries == max_retries) condition since that's
> always
On Tue, Jul 17, 2018 at 3:13 AM, Dan Carpenter wrote:
> On Mon, Jul 16, 2018 at 07:09:06PM -0700, Todd Poynor wrote:
>> From: Todd Poynor
>>
>> Return right away instead of break out of while and then return.
>>
>
> You could remove the (retries == max_retries) condition since that's
> always
On Tue, Jul 17, 2018 at 01:13:29PM +0300, Dan Carpenter wrote:
> On Mon, Jul 16, 2018 at 07:09:06PM -0700, Todd Poynor wrote:
> > From: Todd Poynor
> >
> > Return right away instead of break out of while and then return.
> >
>
Btw, I wasn't going to complain about this but since Greg is being
On Tue, Jul 17, 2018 at 01:13:29PM +0300, Dan Carpenter wrote:
> On Mon, Jul 16, 2018 at 07:09:06PM -0700, Todd Poynor wrote:
> > From: Todd Poynor
> >
> > Return right away instead of break out of while and then return.
> >
>
Btw, I wasn't going to complain about this but since Greg is being
On Mon, Jul 16, 2018 at 07:09:06PM -0700, Todd Poynor wrote:
> From: Todd Poynor
>
> Return right away instead of break out of while and then return.
>
You could remove the (retries == max_retries) condition since that's
always true now and pull that code in one tab. You could do it in one
On Mon, Jul 16, 2018 at 07:09:06PM -0700, Todd Poynor wrote:
> From: Todd Poynor
>
> Return right away instead of break out of while and then return.
>
You could remove the (retries == max_retries) condition since that's
always true now and pull that code in one tab. You could do it in one
From: Todd Poynor
Return right away instead of break out of while and then return.
Reported-by: Dmitry Torokhov
Signed-off-by: Zhongze Hu
Signed-off-by: Todd Poynor
---
drivers/staging/gasket/gasket_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Todd Poynor
Return right away instead of break out of while and then return.
Reported-by: Dmitry Torokhov
Signed-off-by: Zhongze Hu
Signed-off-by: Todd Poynor
---
drivers/staging/gasket/gasket_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
10 matches
Mail list logo