]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-mmc: Remove variable num form msdc_dma_setup
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Sat, 16 Jun 2018 14:14:52 +0000 (16:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:48:04 +0000 (21:48 +0900)
commit9d2792dbc502a3dd5266cb4fd7419786eb6a17c7
treebbccf361274c8d2d08e19cbdf57e9e00edd1ab9f
parentbf5af9f192e4d73f67890b590005a101f43a6603
staging: mt7621-mmc: Remove variable num form msdc_dma_setup

The variable num in msdc_dma_setup is only used for a BUG_ON
statement, so it can be removed by inlining the condition.

Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/sd.c