summaryrefslogtreecommitdiff
path: root/drivers/nfc/s3fwrn5/s3fwrn5.h
diff options
context:
space:
mode:
authorBongsu Jeon <bongsu.jeon@samsung.com>2020-11-17 17:08:24 +0900
committerJakub Kicinski <kuba@kernel.org>2020-11-18 17:42:13 -0800
commitb50e29645627c9372bca45c19d040d96011f77de (patch)
tree63289da04516131c51821810ab4212ef8c5f9899 /drivers/nfc/s3fwrn5/s3fwrn5.h
parentaa8f2cbd5748114e6f283b878f65e743f528d978 (diff)
nfc: s3fwrn5: Remove the max_payload
max_payload is unused. Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Bongsu Jeon <bongsu.jeon@samsung.com> Link: https://lore.kernel.org/r/20201117080824epcms2p36f70e06e2d8bd51d1af278b26ca65725@epcms2p3 Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/nfc/s3fwrn5/s3fwrn5.h')
-rw-r--r--drivers/nfc/s3fwrn5/s3fwrn5.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/nfc/s3fwrn5/s3fwrn5.h b/drivers/nfc/s3fwrn5/s3fwrn5.h
index ede68bb5eeae..9d5f34759225 100644
--- a/drivers/nfc/s3fwrn5/s3fwrn5.h
+++ b/drivers/nfc/s3fwrn5/s3fwrn5.h
@@ -34,7 +34,6 @@ struct s3fwrn5_info {
struct device *pdev;
const struct s3fwrn5_phy_ops *phy_ops;
- unsigned int max_payload;
struct s3fwrn5_fw_info fw_info;
@@ -79,7 +78,7 @@ static inline int s3fwrn5_write(struct s3fwrn5_info *info, struct sk_buff *skb)
}
int s3fwrn5_probe(struct nci_dev **ndev, void *phy_id, struct device *pdev,
- const struct s3fwrn5_phy_ops *phy_ops, unsigned int max_payload);
+ const struct s3fwrn5_phy_ops *phy_ops);
void s3fwrn5_remove(struct nci_dev *ndev);
int s3fwrn5_recv_frame(struct nci_dev *ndev, struct sk_buff *skb,