Commit c1e4a3d9 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by David Woodhouse

MTD: M-Systems DiskOnChip translation layer (NFTL): fix unused variable.

Signed-Off-By: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-Off-By: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 035aff8c
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Author: Fabrice Bellard (fabrice.bellard@netgem.com) * Author: Fabrice Bellard (fabrice.bellard@netgem.com)
* Copyright (C) 2000 Netgem S.A. * Copyright (C) 2000 Netgem S.A.
* *
* $Id: nftlmount.c,v 1.36 2004/06/28 13:52:55 dbrown Exp $ * $Id: nftlmount.c,v 1.38 2004/10/20 23:20:26 dwmw2 Exp $
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#define SECTORSIZE 512 #define SECTORSIZE 512
char nftlmountrev[]="$Revision: 1.36 $"; char nftlmountrev[]="$Revision: 1.38 $";
/* find_boot_record: Find the NFTL Media Header and its Spare copy which contains the /* find_boot_record: Find the NFTL Media Header and its Spare copy which contains the
* various device information of the NFTL partition and Bad Unit Table. Update * various device information of the NFTL partition and Bad Unit Table. Update
...@@ -41,7 +41,6 @@ char nftlmountrev[]="$Revision: 1.36 $"; ...@@ -41,7 +41,6 @@ char nftlmountrev[]="$Revision: 1.36 $";
static int find_boot_record(struct NFTLrecord *nftl) static int find_boot_record(struct NFTLrecord *nftl)
{ {
struct nftl_uci1 h1; struct nftl_uci1 h1;
struct nftl_oob oob;
unsigned int block, boot_record_count = 0; unsigned int block, boot_record_count = 0;
size_t retlen; size_t retlen;
u8 buf[SECTORSIZE]; u8 buf[SECTORSIZE];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment