[PATCH 08/19] lockdep: avoid warning about unused variables

2013-01-25 Thread Arnd Bergmann
When lockdep is disabled, a call to lockdep_assert_held does not use its argument, which results in a compiler warning if nothing else in the same function uses that variable. An instance of this was introduced by c9a49628819 "nfsd: make client_lock per net". Without this patch, building ARM

[PATCH 08/19] lockdep: avoid warning about unused variables

2013-01-25 Thread Arnd Bergmann
When lockdep is disabled, a call to lockdep_assert_held does not use its argument, which results in a compiler warning if nothing else in the same function uses that variable. An instance of this was introduced by c9a49628819 "nfsd: make client_lock per net". Without this patch, building ARM

[PATCH 08/19] lockdep: avoid warning about unused variables

2013-01-25 Thread Arnd Bergmann
When lockdep is disabled, a call to lockdep_assert_held does not use its argument, which results in a compiler warning if nothing else in the same function uses that variable. An instance of this was introduced by c9a49628819 nfsd: make client_lock per net. Without this patch, building ARM

[PATCH 08/19] lockdep: avoid warning about unused variables

2013-01-25 Thread Arnd Bergmann
When lockdep is disabled, a call to lockdep_assert_held does not use its argument, which results in a compiler warning if nothing else in the same function uses that variable. An instance of this was introduced by c9a49628819 nfsd: make client_lock per net. Without this patch, building ARM