]> git.baikalelectronics.ru Git - kernel.git/commit
dac960: Remove unused variables from DAC960_CreateProcEntries()
authorJesper Juhl <jj@chaosbits.net>
Mon, 16 Apr 2012 19:27:54 +0000 (21:27 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 May 2012 14:42:14 +0000 (16:42 +0200)
commit51155c2848d68eb7b234ba191c10e6c323ee3b56
tree7e3fbda80c793ff4b21abc1d01996abe5d87874e
parentaabfbf73e80427e2030de8cdfedba7e0df9c1961
dac960: Remove unused variables from DAC960_CreateProcEntries()

The variables 'StatusProcEntry' and 'UserCommandProcEntry' are
assigned to once and then never used. This patch gets rid of the
variables.

While I was there I also fixed the indentation of the function to use
tabs rather than spaces for the lines that did not already do so.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/DAC960.c