isdn/capi: elliminate capincci_find() in non-middleware case
authorTilman Schmidt <tilman@imap.cc>
Wed, 25 Apr 2012 13:02:20 +0000 (13:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 May 2012 02:37:57 +0000 (22:37 -0400)
commit7dc2ce5f12cb5d166140820d5063027dc2449ac1
tree19eb6c0efdc277a61af8fe6089dfc0b620ae8a23
parent7fdaadcc2ee4d43eb43c564dbef85b768565cd7a
isdn/capi: elliminate capincci_find() in non-middleware case

If Kernel CAPI is compiled without CONFIG_ISDN_CAPI_MIDDLEWARE,
the structure retrieved via capincci_find() is never actually
used, so don't compile that function in that case.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/capi.c