staging: mt7621-mmc: Remove redundant check for card status
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Sun, 29 Apr 2018 17:32:35 +0000 (19:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 02:08:06 +0000 (19:08 -0700)
commitf71774ac8a4d3e8be9c839386635c519a86995e2
tree37fd43cceb52f01ec9f5dba8d56f3526cced608b
parenteafda89222e103212f98888667fe0c5475d011ec
staging: mt7621-mmc: Remove redundant check for card status

Current code checks the card status at the beginning of
msdc_ops_request. This is not necessary because mmc core always checks
the card status before calling this operation.

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