diff options
author | Parav Pandit <parav@mellanox.com> | 2019-04-30 17:49:30 -0500 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2019-05-07 11:23:13 -0600 |
commit | 50732af3b65691666c32fe89808545134c1ee2a0 (patch) | |
tree | dd620d96d6daf14204ccf09d6254653abd0d07b5 /include/linux/mdev.h | |
parent | f707d837b6c24792a724ec51117c0fdb92bd352f (diff) | |
download | lwn-50732af3b65691666c32fe89808545134c1ee2a0.tar.gz lwn-50732af3b65691666c32fe89808545134c1ee2a0.zip |
vfio/mdev: Drop redundant extern for exported symbols
There is no need use 'extern' for exported functions.
Acked-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux/mdev.h')
-rw-r--r-- | include/linux/mdev.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/include/linux/mdev.h b/include/linux/mdev.h index d7aee90e5da5..4924d8038814 100644 --- a/include/linux/mdev.h +++ b/include/linux/mdev.h @@ -118,21 +118,20 @@ struct mdev_driver { #define to_mdev_driver(drv) container_of(drv, struct mdev_driver, driver) -extern void *mdev_get_drvdata(struct mdev_device *mdev); -extern void mdev_set_drvdata(struct mdev_device *mdev, void *data); -extern const guid_t *mdev_uuid(struct mdev_device *mdev); +void *mdev_get_drvdata(struct mdev_device *mdev); +void mdev_set_drvdata(struct mdev_device *mdev, void *data); +const guid_t *mdev_uuid(struct mdev_device *mdev); extern struct bus_type mdev_bus_type; -extern int mdev_register_device(struct device *dev, - const struct mdev_parent_ops *ops); -extern void mdev_unregister_device(struct device *dev); +int mdev_register_device(struct device *dev, const struct mdev_parent_ops *ops); +void mdev_unregister_device(struct device *dev); -extern int mdev_register_driver(struct mdev_driver *drv, struct module *owner); -extern void mdev_unregister_driver(struct mdev_driver *drv); +int mdev_register_driver(struct mdev_driver *drv, struct module *owner); +void mdev_unregister_driver(struct mdev_driver *drv); -extern struct device *mdev_parent_dev(struct mdev_device *mdev); -extern struct device *mdev_dev(struct mdev_device *mdev); -extern struct mdev_device *mdev_from_dev(struct device *dev); +struct device *mdev_parent_dev(struct mdev_device *mdev); +struct device *mdev_dev(struct mdev_device *mdev); +struct mdev_device *mdev_from_dev(struct device *dev); #endif /* MDEV_H */ |