]> err.no Git - linux-2.6/commit
sh: dma: use __maybe_unused
authorDavid Rientjes <rientjes@google.com>
Wed, 9 May 2007 09:35:28 +0000 (02:35 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:57 +0000 (12:30 -0700)
commitd16aaffa752c7fd50df951e631dd0c11f80d9cbf
tree216b3c7046eb548600d0a29c1b87c7702aca8062
parentf6744c02bc50797c1a83f8303ebcc96673ca0524
sh: dma: use __maybe_unused

There is no such thing as labeling a variable as __attribute__((used)).  Since
ts_shift is not referenced in inline assembly, we assume that we're simply
suppressing a warning here if the variable is declared but unreferenced.

Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-sh/cpu-sh3/dma.h
include/asm-sh/cpu-sh4/dma-sh7780.h
include/asm-sh/cpu-sh4/dma.h