Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1626412
| From | Marek Vasut <marek.vasut@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 4/6] mtd: dataflash: Get rid of loop counter in jedec_probe() |
| Date | 2017-04-19 17:50 +0200 |
| Message-ID | <ty01H-5db-13@gated-at.bofh.it> (permalink) |
| References | <txZIm-56L-15@gated-at.bofh.it> <txZIo-56L-49@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 04/19/2017 05:23 PM, Andrey Smirnov wrote: > "For" loop in jedec_probe can be simplified to not need counter > 'i'. Convert the code and get rid of the variable. > > Cc: cphealy@gmail.com > Cc: David Woodhouse <dwmw2@infradead.org> > Cc: Brian Norris <computersforpeace@gmail.com> > Cc: Boris Brezillon <boris.brezillon@free-electrons.com> > Cc: Marek Vasut <marek.vasut@gmail.com> > Cc: Richard Weinberger <richard@nod.at> > Cc: Cyrille Pitchen <cyrille.pitchen@atmel.com> > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> > --- Reviewed-by: Marek Vasut <marek.vasut@gmail.com> -- Best regards, Marek Vasut
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3 1/6] mtd: dataflash: Replace C99 types with their kernel counterparts Andrey Smirnov <andrew.smirnov@gmail.com> - 2017-04-19 17:30 +0200
[PATCH v3 4/6] mtd: dataflash: Get rid of loop counter in jedec_probe() Andrey Smirnov <andrew.smirnov@gmail.com> - 2017-04-19 17:30 +0200
Re: [PATCH v3 4/6] mtd: dataflash: Get rid of loop counter in jedec_probe() Marek Vasut <marek.vasut@gmail.com> - 2017-04-19 17:50 +0200
[PATCH v3 2/6] mtd: dataflash: Improve coding style in jedec_probe() Andrey Smirnov <andrew.smirnov@gmail.com> - 2017-04-19 17:30 +0200
Re: [PATCH v3 1/6] mtd: dataflash: Replace C99 types with their kernel counterparts David Woodhouse <dwmw2@infradead.org> - 2017-04-19 17:40 +0200
Re: [PATCH v3 1/6] mtd: dataflash: Replace C99 types with their kernel counterparts Andrey Smirnov <andrew.smirnov@gmail.com> - 2017-04-19 18:10 +0200
csiph-web