Skip to content

Commit

Permalink
[MTD] Quiet unused variable warning
Browse files Browse the repository at this point in the history
Signed-off-by: Nioclas Pitre <nico@cam.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Nicolas Pitre authored and Thomas Gleixner committed May 23, 2005
1 parent 0ea4a75 commit f16407d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/mtd/map.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/* Overhauled routines for dealing with different mmap regions of flash */
/* $Id: map.h,v 1.47 2005/02/08 17:11:15 nico Exp $ */
/* $Id: map.h,v 1.48 2005/02/16 15:54:59 nico Exp $ */

#ifndef __LINUX_MTD_MAP_H__
#define __LINUX_MTD_MAP_H__
Expand Down Expand Up @@ -418,7 +418,7 @@ extern void simple_map_init(struct map_info *);


#define simple_map_init(map) BUG_ON(!map_bankwidth_supported((map)->bankwidth))
#define map_is_linear(map) (1)
#define map_is_linear(map) ({ (void)(map); 1; })

#endif /* !CONFIG_MTD_COMPLEX_MAPPINGS */

Expand Down

0 comments on commit f16407d

Please sign in to comment.