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)
commitd812c6a9bba4fad6eb82ff19428f6c6e4df3cdf3
treebbccf361274c8d2d08e19cbdf57e9e00edd1ab9f
parentfe219842d688c8d5acd9823ea92967cc0f8df1f9
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