diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-08-27 19:17:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-14 11:12:56 +0200 |
commit | ff8d123f0b0ee774089f70d8e266ecd1371e84e2 (patch) | |
tree | 3ceee5f2148cc81c93641a8597f6473741c64fbd /drivers/char/xillybus/xillybus_pcie.c | |
parent | 3e053c44eff5ec5364916a2c63b701d14f3099bf (diff) |
char: xillybus: Simplify 'xillybus_init_endpoint()'
Ths first argument of 'xillybus_init_endpoint()' is now useless.
Remove it.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/ba687c1eff5dc8f21422323f57164d06f25d4169.1630083668.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/xillybus/xillybus_pcie.c')
-rw-r--r-- | drivers/char/xillybus/xillybus_pcie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/xillybus/xillybus_pcie.c b/drivers/char/xillybus/xillybus_pcie.c index f4be61349ca6..a6ef4ce90649 100644 --- a/drivers/char/xillybus/xillybus_pcie.c +++ b/drivers/char/xillybus/xillybus_pcie.c @@ -124,7 +124,7 @@ static int xilly_probe(struct pci_dev *pdev, struct xilly_endpoint *endpoint; int rc; - endpoint = xillybus_init_endpoint(pdev, &pdev->dev, &pci_hw); + endpoint = xillybus_init_endpoint(&pdev->dev, &pci_hw); if (!endpoint) return -ENOMEM; |