Skip to content

Commit 950fd04

Browse files
Tan Zhongjundavem330
authored andcommitted
soc: qcom: ipa: Remove superfluous error message around platform_get_irq()
The platform_get_irq() prints error message telling that interrupt is missing,hence there is no need to duplicated that message in the drivers. Signed-off-by: Tan Zhongjun <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent cb8e2e4 commit 950fd04

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/net/ipa/ipa_smp2p.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,8 @@ static int ipa_smp2p_irq_init(struct ipa_smp2p *smp2p, const char *name,
176176
int ret;
177177

178178
ret = platform_get_irq_byname(smp2p->ipa->pdev, name);
179-
if (ret <= 0) {
180-
dev_err(dev, "DT error %d getting \"%s\" IRQ property\n",
181-
ret, name);
179+
if (ret <= 0)
182180
return ret ? : -EINVAL;
183-
}
184181
irq = ret;
185182

186183
ret = request_threaded_irq(irq, NULL, handler, 0, name, smp2p);

0 commit comments

Comments
 (0)