Skip to content
  • Paolo 'Blaisorblade' Giarrusso's avatar
    [PATCH] Remove unused var from asm/futex.h · 676067cf
    Paolo 'Blaisorblade' Giarrusso authored
    As recently done by Russell King for ARM, commit
    4732efbe
    
     introduces a generic asm/futex.h copied
    along most arches, which includes a "-ENOSYS support" to be changed if needed.
    However, it includes an unused var (taken from the "real" version) which GCC
    warns about.
    
    Remove it from all arches having that file version (i.e. same GIT id).
    $ git-diff-tree -r HEAD
    and
    $ git-ls-tree  -r HEAD include/|grep 9feff4ce1424bc390608326240be369eb13aa648
    
    may be more interesting than looking at the patch itself, to make sure I've
    just copied the arm header to all other archs having the original dummy version
    of this file.
    
    Cc: Jakub Jelinek <jakub@redhat.com>
    Signed-off-by: default avatarPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    676067cf