[PATCH 1/5] lib: remove blank line ending comment blocks

Ruifeng Wang Ruifeng.Wang at arm.com
Thu Jun 15 09:27:26 CEST 2023


> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Wednesday, June 14, 2023 10:27 PM
> To: dev at dpdk.org
> Cc: Nicolas Chautru <nicolas.chautru at intel.com>; Cristian Dumitrescu
> <cristian.dumitrescu at intel.com>; Olivier Matz <olivier.matz at 6wind.com>; Fan Zhang
> <fanzhang.oss at gmail.com>; Ashish Gupta <ashish.gupta at marvell.com>; Akhil Goyal
> <gakhil at marvell.com>; Ruifeng Wang <Ruifeng.Wang at arm.com>; Anatoly Burakov
> <anatoly.burakov at intel.com>; Harman Kalra <hkalra at marvell.com>; Joyce Kong
> <Joyce.Kong at arm.com>; jerinj at marvell.com; Sunil Kumar Kori <skori at marvell.com>; Dmitry
> Kozlyuk <dmitry.kozliuk at gmail.com>; Narcisa Ana Maria Vasile
> <navasile at linux.microsoft.com>; Dmitry Malloy <dmitrym at microsoft.com>; Pallavi Kadam
> <pallavi.kadam at intel.com>; Byron Marohn <byron.marohn at intel.com>; Yipeng Wang
> <yipeng1.wang at intel.com>; Ferruh Yigit <ferruh.yigit at amd.com>; Andrew Rybchenko
> <andrew.rybchenko at oktetlabs.ru>; Ori Kam <orika at nvidia.com>; Erik Gabriel Carrillo
> <erik.g.carrillo at intel.com>; Kiran Kumar K <kirankumark at marvell.com>; Nithin Dabilpuram
> <ndabilpuram at marvell.com>; Sameh Gobriel <sameh.gobriel at intel.com>; Bruce Richardson
> <bruce.richardson at intel.com>; Vladimir Medvedkin <vladimir.medvedkin at intel.com>;
> Konstantin Ananyev <konstantin.v.ananyev at yandex.ru>; Srikanth Yalavarthi
> <syalavarthi at marvell.com>; Pavan Nikhilesh <pbhagavatula at marvell.com>; Reshma Pattan
> <reshma.pattan at intel.com>; Stephen Hemminger <stephen at networkplumber.org>; Anoob Joseph
> <anoobj at marvell.com>; Volodymyr Fialko <vfialko at marvell.com>; David Hunt
> <david.hunt at intel.com>; Sachin.saxena at nxp.com; hemant.agrawal at nxp.com; Honnappa
> Nagarahalli <Honnappa.Nagarahalli at arm.com>; Ciara Power <ciara.power at intel.com>
> Subject: [PATCH 1/5] lib: remove blank line ending comment blocks
> 
> At the end of a comment, no need for an extra line.
> 
> This pattern was fixed with the following command:
> git ls lib | xargs sed -i '/^ *\* *$/{N;/ *\*\/ *$/D;}'
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
>  lib/bbdev/rte_bbdev.h                   |  2 --
>  lib/bbdev/rte_bbdev_op.h                |  1 -
>  lib/bbdev/rte_bbdev_pmd.h               |  1 -
>  lib/cfgfile/rte_cfgfile.h               |  1 -
>  lib/cmdline/cmdline_parse.h             |  1 -
>  lib/compressdev/rte_comp.h              |  1 -
>  lib/compressdev/rte_compressdev.h       |  1 -
>  lib/cryptodev/cryptodev_pmd.h           |  1 -
>  lib/cryptodev/rte_crypto.h              |  1 -
>  lib/cryptodev/rte_crypto_asym.h         | 12 ------------
>  lib/cryptodev/rte_cryptodev.h           |  3 ---
>  lib/cryptodev/rte_cryptodev_core.h      |  1 -
>  lib/eal/arm/include/rte_cycles_64.h     |  1 -
>  lib/eal/common/eal_common_proc.c        |  1 -
>  lib/eal/include/generic/rte_pause.h     |  1 -
>  lib/eal/include/generic/rte_spinlock.h  |  1 -
>  lib/eal/include/rte_bitmap.h            |  1 -
>  lib/eal/include/rte_branch_prediction.h |  2 --
>  lib/eal/include/rte_eal.h               |  2 --
>  lib/eal/include/rte_interrupts.h        |  1 -
>  lib/eal/include/rte_keepalive.h         |  1 -
>  lib/eal/include/rte_lcore.h             |  1 -
>  lib/eal/include/rte_tailq.h             |  1 -
>  lib/eal/include/rte_thread.h            |  1 -
>  lib/eal/include/rte_ticketlock.h        |  1 -
>  lib/eal/include/rte_trace_point.h       |  1 -
>  lib/eal/windows/include/sys/queue.h     |  1 -
>  lib/efd/rte_efd.c                       |  1 -
>  lib/ethdev/ethdev_driver.h              |  1 -
>  lib/ethdev/rte_ethdev.c                 |  1 -
>  lib/ethdev/rte_ethdev.h                 |  1 -
>  lib/ethdev/rte_ethdev_core.h            |  1 -
>  lib/ethdev/rte_flow.h                   | 11 -----------
>  lib/ethdev/rte_mtr.h                    |  2 --
>  lib/ethdev/sff_8636.h                   |  2 --
>  lib/ethdev/sff_common.h                 |  1 -
>  lib/eventdev/event_timer_adapter_pmd.h  |  1 -
>  lib/eventdev/eventdev_pmd.h             | 17 -----------------
>  lib/eventdev/rte_event_timer_adapter.h  |  2 --
>  lib/eventdev/rte_eventdev.h             | 11 -----------
>  lib/graph/rte_graph.h                   |  2 --
>  lib/hash/rte_hash.h                     |  1 -
>  lib/hash/rte_hash_crc.h                 |  1 -
>  lib/ip_frag/rte_ipv6_fragmentation.c    |  1 -
>  lib/ip_frag/rte_ipv6_reassembly.c       |  1 -
>  lib/ipsec/ipsec_telemetry.c             |  1 -
>  lib/member/rte_member.h                 |  1 -
>  lib/mempool/rte_mempool.c               |  1 -
>  lib/mempool/rte_mempool.h               |  1 -
>  lib/meter/rte_meter.h                   |  3 ---
>  lib/mldev/mldev_utils.h                 |  1 -
>  lib/node/rte_node_eth_api.h             |  1 -
>  lib/node/rte_node_ip4_api.h             |  1 -
>  lib/node/rte_node_ip6_api.h             |  1 -
>  lib/pcapng/rte_pcapng.h                 |  1 -
>  lib/pdcp/rte_pdcp_group.h               |  1 -
>  lib/pipeline/rte_pipeline.c             |  4 ----
>  lib/pipeline/rte_pipeline.h             |  7 -------
>  lib/pipeline/rte_swx_ipsec.h            |  2 --
>  lib/pipeline/rte_swx_pipeline_spec.c    | 11 -----------
>  lib/port/rte_port.h                     |  3 ---
>  lib/port/rte_port_ethdev.h              |  1 -
>  lib/port/rte_port_eventdev.h            |  1 -
>  lib/port/rte_port_fd.h                  |  1 -
>  lib/port/rte_port_frag.h                |  1 -
>  lib/port/rte_port_kni.h                 |  1 -
>  lib/port/rte_port_ras.h                 |  1 -
>  lib/port/rte_port_ring.h                |  1 -
>  lib/port/rte_port_sched.h               |  1 -
>  lib/port/rte_port_source_sink.h         |  1 -
>  lib/port/rte_port_sym_crypto.h          |  1 -
>  lib/port/rte_swx_port_fd.h              |  1 -
>  lib/power/guest_channel.h               |  1 -
>  lib/rawdev/rte_rawdev.h                 |  2 --
>  lib/rawdev/rte_rawdev_pmd.h             |  3 ---
>  lib/rcu/rte_rcu_qsbr.h                  |  1 -
>  lib/regexdev/rte_regexdev_core.h        |  1 -
>  lib/reorder/rte_reorder.h               |  1 -
>  lib/ring/rte_ring.h                     |  1 -
>  lib/sched/rte_approx.h                  |  1 -
>  lib/sched/rte_pie.h                     |  2 --
>  lib/sched/rte_red.h                     |  4 ----
>  lib/sched/rte_sched.c                   |  1 -
>  lib/sched/rte_sched.h                   |  3 ---
>  lib/sched/rte_sched_common.h            |  2 --
>  lib/security/rte_security.h             |  1 -
>  lib/security/rte_security_driver.h      |  1 -
>  lib/table/rte_swx_table_em.c            |  1 -
>  lib/table/rte_table.h                   |  1 -
>  lib/table/rte_table_acl.h               |  1 -
>  lib/table/rte_table_array.h             |  1 -
>  lib/table/rte_table_hash.h              |  1 -
>  lib/table/rte_table_hash_cuckoo.h       |  1 -
>  lib/table/rte_table_hash_ext.c          |  2 --
>  lib/table/rte_table_hash_lru.c          |  2 --
>  lib/table/rte_table_lpm.h               |  1 -
>  lib/table/rte_table_lpm_ipv6.h          |  1 -
>  lib/table/rte_table_stub.h              |  1 -
>  lib/telemetry/telemetry_internal.h      |  1 -
>  lib/telemetry/telemetry_json.h          |  1 -
>  100 files changed, 192 deletions(-)
> 
Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>



More information about the dev mailing list