[v4,15/18] common/idpf/base: use 'type functionname(args)' style
Checks
Commit Message
Instead of splitting the function name and function type into
multiple lines, use then in a single line.
Signed-off-by: Pavan Kumar Linga <pavan.kumar.linga@intel.com>
Signed-off-by: Simei Su <simei.su@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
---
drivers/common/idpf/base/idpf_controlq.c | 5 ++---
drivers/common/idpf/base/idpf_controlq_setup.c | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
@@ -9,9 +9,8 @@
* @cq: pointer to the specific control queue
* @q_create_info: structs containing info for each queue to be initialized
*/
-static void
-idpf_ctlq_setup_regs(struct idpf_ctlq_info *cq,
- struct idpf_ctlq_create_info *q_create_info)
+static void idpf_ctlq_setup_regs(struct idpf_ctlq_info *cq,
+ struct idpf_ctlq_create_info *q_create_info)
{
/* set control queue registers in our local struct */
cq->reg.head = q_create_info->reg.head;
@@ -11,9 +11,8 @@
* @hw: pointer to hw struct
* @cq: pointer to the specific Control queue
*/
-static int
-idpf_ctlq_alloc_desc_ring(struct idpf_hw *hw,
- struct idpf_ctlq_info *cq)
+static int idpf_ctlq_alloc_desc_ring(struct idpf_hw *hw,
+ struct idpf_ctlq_info *cq)
{
size_t size = cq->ring_size * sizeof(struct idpf_ctlq_desc);