Remove the unneeded comment at the head and tail of some source files. Signed-off-by: Chaoyong He <chaoyong...@corigine.com> Reviewed-by: Niklas Söderlund <niklas.soderl...@corigine.com> --- drivers/net/nfp/nfp_common.c | 15 --------------- drivers/net/nfp/nfp_common.h | 14 -------------- drivers/net/nfp/nfp_cpp_bridge.c | 14 -------------- drivers/net/nfp/nfp_cpp_bridge.h | 14 -------------- drivers/net/nfp/nfp_ctrl.h | 11 ----------- drivers/net/nfp/nfp_ethdev.c | 14 -------------- drivers/net/nfp/nfp_ethdev_vf.c | 14 -------------- drivers/net/nfp/nfp_rxtx.c | 8 -------- drivers/net/nfp/nfp_rxtx.h | 14 -------------- 9 files changed, 118 deletions(-)
diff --git a/drivers/net/nfp/nfp_common.c b/drivers/net/nfp/nfp_common.c index de05fe8e95..634afbf1b5 100644 --- a/drivers/net/nfp/nfp_common.c +++ b/drivers/net/nfp/nfp_common.c @@ -5,14 +5,6 @@ * Small portions derived from code Copyright(c) 2010-2015 Intel Corporation. */ -/* - * vim:shiftwidth=8:noexpandtab - * - * @file dpdk/pmd/nfp_common.c - * - * Netronome vNIC DPDK Poll-Mode Driver: Common files - */ - #include <rte_byteorder.h> #include <rte_common.h> #include <rte_log.h> @@ -1963,10 +1955,3 @@ nfp_net_init_metadata_format(struct nfp_net_hw *hw) hw->meta_format = NFP_NET_METAFORMAT_SINGLE; } } - -/* - * Local variables: - * c-file-style: "Linux" - * indent-tabs-mode: t - * End: - */ diff --git a/drivers/net/nfp/nfp_common.h b/drivers/net/nfp/nfp_common.h index 76f4eef980..914903f587 100644 --- a/drivers/net/nfp/nfp_common.h +++ b/drivers/net/nfp/nfp_common.h @@ -3,14 +3,6 @@ * All rights reserved. */ -/* - * vim:shiftwidth=8:noexpandtab - * - * @file dpdk/pmd/nfp_net_pmd.h - * - * Netronome NFP_NET PMD - */ - #ifndef _NFP_COMMON_H_ #define _NFP_COMMON_H_ @@ -514,9 +506,3 @@ void nfp_net_init_metadata_format(struct nfp_net_hw *hw); ((struct nfp_app_fw_flower *)app_fw_priv) #endif /* _NFP_COMMON_H_ */ -/* - * Local variables: - * c-file-style: "Linux" - * indent-tabs-mode: t - * End: - */ diff --git a/drivers/net/nfp/nfp_cpp_bridge.c b/drivers/net/nfp/nfp_cpp_bridge.c index 78a680453b..88cd1aa572 100644 --- a/drivers/net/nfp/nfp_cpp_bridge.c +++ b/drivers/net/nfp/nfp_cpp_bridge.c @@ -5,14 +5,6 @@ * Small portions derived from code Copyright(c) 2010-2015 Intel Corporation. */ -/* - * vim:shiftwidth=8:noexpandtab - * - * @file dpdk/pmd/nfp_cpp_bridge.c - * - * Netronome vNIC DPDK Poll-Mode Driver: CPP Bridge - */ - #include <unistd.h> #include <sys/ioctl.h> @@ -453,9 +445,3 @@ nfp_cpp_bridge_service_func(void *args) return 0; } -/* - * Local variables: - * c-file-style: "Linux" - * indent-tabs-mode: t - * End: - */ diff --git a/drivers/net/nfp/nfp_cpp_bridge.h b/drivers/net/nfp/nfp_cpp_bridge.h index 8ff7a22fbd..85289e158b 100644 --- a/drivers/net/nfp/nfp_cpp_bridge.h +++ b/drivers/net/nfp/nfp_cpp_bridge.h @@ -5,14 +5,6 @@ * Small portions derived from code Copyright(c) 2010-2015 Intel Corporation. */ -/* - * vim:shiftwidth=8:noexpandtab - * - * @file dpdk/pmd/nfp_cpp_bridge.h - * - * Netronome vNIC DPDK Poll-Mode Driver: CPP Bridge header file - */ - #ifndef _NFP_CPP_BRIDGE_H_ #define _NFP_CPP_BRIDGE_H_ @@ -30,9 +22,3 @@ int nfp_enable_cpp_service(struct nfp_pf_dev *pf_dev); int nfp_map_service(uint32_t service_id); #endif /* _NFP_CPP_BRIDGE_H_ */ -/* - * Local variables: - * c-file-style: "Linux" - * indent-tabs-mode: t - * End: - */ diff --git a/drivers/net/nfp/nfp_ctrl.h b/drivers/net/nfp/nfp_ctrl.h index c8ca14e017..bca31ac311 100644 --- a/drivers/net/nfp/nfp_ctrl.h +++ b/drivers/net/nfp/nfp_ctrl.h @@ -3,11 +3,6 @@ * All rights reserved. */ -/* - * vim:shiftwidth=8:noexpandtab - * - * Netronome network device driver: Control BAR layout - */ #ifndef _NFP_CTRL_H_ #define _NFP_CTRL_H_ @@ -434,9 +429,3 @@ nfp_net_cfg_ctrl_rss(uint32_t hw_cap) } #endif /* _NFP_CTRL_H_ */ -/* - * Local variables: - * c-file-style: "Linux" - * indent-tabs-mode: t - * End: - */ diff --git a/drivers/net/nfp/nfp_ethdev.c b/drivers/net/nfp/nfp_ethdev.c index d48534fd61..3a56726388 100644 --- a/drivers/net/nfp/nfp_ethdev.c +++ b/drivers/net/nfp/nfp_ethdev.c @@ -5,14 +5,6 @@ * Small portions derived from code Copyright(c) 2010-2015 Intel Corporation. */ -/* - * vim:shiftwidth=8:noexpandtab - * - * @file dpdk/pmd/nfp_ethdev.c - * - * Netronome vNIC DPDK Poll-Mode Driver: Main entry point - */ - #include <rte_common.h> #include <ethdev_driver.h> #include <ethdev_pci.h> @@ -1295,9 +1287,3 @@ static struct rte_pci_driver rte_nfp_net_pf_pmd = { RTE_PMD_REGISTER_PCI(net_nfp_pf, rte_nfp_net_pf_pmd); RTE_PMD_REGISTER_PCI_TABLE(net_nfp_pf, pci_id_nfp_pf_net_map); RTE_PMD_REGISTER_KMOD_DEP(net_nfp_pf, "* igb_uio | uio_pci_generic | vfio"); -/* - * Local variables: - * c-file-style: "Linux" - * indent-tabs-mode: t - * End: - */ diff --git a/drivers/net/nfp/nfp_ethdev_vf.c b/drivers/net/nfp/nfp_ethdev_vf.c index 7521a6ec90..f8135fa0c8 100644 --- a/drivers/net/nfp/nfp_ethdev_vf.c +++ b/drivers/net/nfp/nfp_ethdev_vf.c @@ -5,14 +5,6 @@ * Small portions derived from code Copyright(c) 2010-2015 Intel Corporation. */ -/* - * vim:shiftwidth=8:noexpandtab - * - * @file dpdk/pmd/nfp_ethdev_vf.c - * - * Netronome vNIC VF DPDK Poll-Mode Driver: Main entry point - */ - #include <rte_alarm.h> #include "nfpcore/nfp_mip.h" @@ -510,9 +502,3 @@ static struct rte_pci_driver rte_nfp_net_vf_pmd = { RTE_PMD_REGISTER_PCI(net_nfp_vf, rte_nfp_net_vf_pmd); RTE_PMD_REGISTER_PCI_TABLE(net_nfp_vf, pci_id_nfp_vf_net_map); RTE_PMD_REGISTER_KMOD_DEP(net_nfp_vf, "* igb_uio | uio_pci_generic | vfio"); -/* - * Local variables: - * c-file-style: "Linux" - * indent-tabs-mode: t - * End: - */ diff --git a/drivers/net/nfp/nfp_rxtx.c b/drivers/net/nfp/nfp_rxtx.c index 8283953702..2409f63205 100644 --- a/drivers/net/nfp/nfp_rxtx.c +++ b/drivers/net/nfp/nfp_rxtx.c @@ -5,14 +5,6 @@ * Small portions derived from code Copyright(c) 2010-2015 Intel Corporation. */ -/* - * vim:shiftwidth=8:noexpandtab - * - * @file dpdk/pmd/nfp_rxtx.c - * - * Netronome vNIC DPDK Poll-Mode Driver: Rx/Tx functions - */ - #include <ethdev_driver.h> #include <ethdev_pci.h> diff --git a/drivers/net/nfp/nfp_rxtx.h b/drivers/net/nfp/nfp_rxtx.h index 4a310c0083..f72c54fb25 100644 --- a/drivers/net/nfp/nfp_rxtx.h +++ b/drivers/net/nfp/nfp_rxtx.h @@ -3,14 +3,6 @@ * All rights reserved. */ -/* - * vim:shiftwidth=8:noexpandtab - * - * @file dpdk/pmd/nfp_rxtx.h - * - * Netronome NFP Rx/Tx specific header file - */ - #ifndef _NFP_RXTX_H_ #define _NFP_RXTX_H_ @@ -331,9 +323,3 @@ void nfp_net_set_meta_vlan(struct nfp_net_meta_raw *meta_data, uint8_t layer); #endif /* _NFP_RXTX_H_ */ -/* - * Local variables: - * c-file-style: "Linux" - * indent-tabs-mode: t - * End: - */ -- 2.39.1