Re: [PATCH] staging: fsl-dpaa2: replace simple switch case by if statement

2018-03-21 Thread
On Wed, Mar 21, 2018 at 03:17:51PM +0300, Denis Kirjanov wrote: > On 3/21/18, David Laight wrote: > > From: > hariprasath.ela...@gmail.com > >> Sent: 21 March 2018 11:16 > >> From: HariPrasath Elango > >> > >> Replace a couple of simple

Re: [PATCH] staging: fsl-dpaa2: replace simple switch case by if statement

2018-03-21 Thread Denis Kirjanov
On 3/21/18, David Laight wrote: > From: > hariprasath.ela...@gmail.com >> Sent: 21 March 2018 11:16 >> From: HariPrasath Elango >> >> Replace a couple of simple switch cases by if condition > > Why? > In principle extra 'case' might be

RE: [PATCH] staging: fsl-dpaa2: replace simple switch case by if statement

2018-03-21 Thread David Laight
From: > hariprasath.ela...@gmail.com > Sent: 21 March 2018 11:16 > From: HariPrasath Elango > > Replace a couple of simple switch cases by if condition Why? In principle extra 'case' might be needed in the future. ... > diff --git