drivers/isdn/capi: fix sparse warning: context imbalance
authorHannes Eder <hannes@hanneseder.net>
Wed, 25 Feb 2009 13:08:40 +0000 (13:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2009 09:00:41 +0000 (01:00 -0800)
commitdfe925e8e9058c8af0d203ae7262437235623a68
tree394e6c445d15e1d71edab15287cbf1b03b0a0b79
parentfe17f84f5f2a7d6c1a31c04c06a016d4ad5f7dec
drivers/isdn/capi: fix sparse warning: context imbalance

Impact: Attribute functions with __acquires(...) resp. __releases(...).

Fix this sparse warnings:
  drivers/isdn/capi/kcapi_proc.c:241:13: warning: context imbalance in 'capi_driver_start' - wrong count at exit
  drivers/isdn/capi/kcapi_proc.c:252:13: warning: context imbalance in 'capi_driver_stop' - unexpected unlock

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/kcapi_proc.c