]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ice: cleanup line splitting for context set functions
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 27 Feb 2024 00:14:56 +0000 (16:14 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 4 Mar 2024 18:28:15 +0000 (10:28 -0800)
commit979c2c049fbea107ce9f8d31f3ba9dba83ddb0a2
tree995eb8af039bfa9cf7b56d234311d88b4138a8e0
parenta45d1bf516c097bb7ae4983d3128ebf139be952c
ice: cleanup line splitting for context set functions

The indentation for ice_set_ctx and ice_write_rxq_ctx breaks the function
name after the return type. This style of breaking is used a lot throughout
the ice driver, even in cases where its not actually helpful for
readability. We no longer prefer this style of line splitting in the
driver, and new code is avoiding it.

Normally, I would leave this alone unless the actual function contents or
description needed updating. However, a future change is going to add
inverse functions for converting packed context to unpacked context
structures. To keep this code uniform with the existing set functions, fix
up the style to the modern format of keeping the type on the same line.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_common.h