diff mbox

mtd: nand: remove duplicate comment line

Message ID a1b5a128d9a40456cbc701f5a255c7edde7a7f7a.1420015314.git.baruch@tkos.co.il
State Accepted
Commit 57f5ef14a5ffbf4bad7d761e844efede21a1c975
Headers show

Commit Message

Baruch Siach Dec. 31, 2014, 8:41 a.m. UTC
Commit 7854d3f7495b1 (mtd: spelling, capitalization, uniformity) added a
correctly spelled line, but failed to remove the wrongly spelled one. Commit
064a7694b534 (mtd: Fix typo mtd/tests) then fixed the spelling again, but left
the duplication.

Fixes: 7854d3f7495b1 (mtd: spelling, capitalization, uniformity)
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 drivers/mtd/nand/nand_base.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Brian Norris Jan. 9, 2015, 11:16 p.m. UTC | #1
On Wed, Dec 31, 2014 at 10:41:54AM +0200, Baruch Siach wrote:
> Commit 7854d3f7495b1 (mtd: spelling, capitalization, uniformity) added a
> correctly spelled line, but failed to remove the wrongly spelled one. Commit
> 064a7694b534 (mtd: Fix typo mtd/tests) then fixed the spelling again, but left
> the duplication.

Whoops!

Pushed to l2-mtd.git. Thanks.

Brian
 
> Fixes: 7854d3f7495b1 (mtd: spelling, capitalization, uniformity)
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  drivers/mtd/nand/nand_base.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
> index 41585dfb206f..7bfa519588a4 100644
> --- a/drivers/mtd/nand/nand_base.c
> +++ b/drivers/mtd/nand/nand_base.c
> @@ -157,7 +157,6 @@ static uint8_t nand_read_byte(struct mtd_info *mtd)
>  
>  /**
>   * nand_read_byte16 - [DEFAULT] read one byte endianness aware from the chip
> - * nand_read_byte16 - [DEFAULT] read one byte endianness aware from the chip
>   * @mtd: MTD device structure
>   *
>   * Default read function for 16bit buswidth with endianness conversion.
diff mbox

Patch

diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 41585dfb206f..7bfa519588a4 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -157,7 +157,6 @@  static uint8_t nand_read_byte(struct mtd_info *mtd)
 
 /**
  * nand_read_byte16 - [DEFAULT] read one byte endianness aware from the chip
- * nand_read_byte16 - [DEFAULT] read one byte endianness aware from the chip
  * @mtd: MTD device structure
  *
  * Default read function for 16bit buswidth with endianness conversion.