Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e477f9e authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman
Browse files

staging: mt7621-mmc: Remove unused variable in msdc_command_resp



The variable resp in msdc_command_resp is once set and never read,
delete it.

Signed-off-by: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 32c6dcff
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -886,13 +886,10 @@ static unsigned int msdc_command_resp(struct msdc_host *host,
	void __iomem *base = host->base;
	u32 opcode = cmd->opcode;
	//u32 rawcmd;
	u32 resp;
	u32 wints = MSDC_INT_CMDRDY  | MSDC_INT_RSPCRCERR  | MSDC_INT_CMDTMO  |
		    MSDC_INT_ACMDRDY | MSDC_INT_ACMDCRCERR | MSDC_INT_ACMDTMO |
		    MSDC_INT_ACMD19_DONE;

	resp = host->cmd_rsp;

	BUG_ON(in_interrupt());
	//init_completion(&host->cmd_done);
	//sdr_set_bits(MSDC_INTEN, wints);