mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
net: ipa: drop an error message
There is no need for gsi_modem_channel_halt() to report an error, because gsi_generic_command() will already have done that if the command times out. So get rid of the extra message. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
2c642c48b3
commit
bf795af1d4
1 changed files with 1 additions and 6 deletions
|
@ -1661,12 +1661,7 @@ static int gsi_modem_channel_alloc(struct gsi *gsi, u32 channel_id)
|
|||
|
||||
static void gsi_modem_channel_halt(struct gsi *gsi, u32 channel_id)
|
||||
{
|
||||
int ret;
|
||||
|
||||
ret = gsi_generic_command(gsi, channel_id, GSI_GENERIC_HALT_CHANNEL);
|
||||
if (ret)
|
||||
dev_err(gsi->dev, "error %d halting modem channel %u\n",
|
||||
ret, channel_id);
|
||||
(void)gsi_generic_command(gsi, channel_id, GSI_GENERIC_HALT_CHANNEL);
|
||||
}
|
||||
|
||||
/* Setup function for channels */
|
||||
|
|
Loading…
Add table
Reference in a new issue