]> git.baikalelectronics.ru Git - kernel.git/commit
NOMMU: Remove an extraneous no_printk()
authorDavid Howells <dhowells@redhat.com>
Fri, 13 Aug 2010 10:25:12 +0000 (11:25 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Aug 2010 23:55:25 +0000 (16:55 -0700)
commit53c63943e51cfc3b676fd3daf721a2094145bf5b
tree7e901e8d5f42a76c0e9e8e33d75b6ff791a7b759
parentac3aceb9925cb7fdf35c7e09904520f77b1dc366
NOMMU: Remove an extraneous no_printk()

Remove an extraneous no_printk() in mm/nommu.c that got missed when the
function got generalised from several things that used it in commit
0b9f5ee2e094 ("Add a dummy printk function for the maintenance of unused
printks").

Without this, the following error is observed:

  mm/nommu.c:41: error: conflicting types for 'no_printk'
  include/linux/kernel.h:314: error: previous definition of 'no_printk' was here

Reported-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/nommu.c