crypto: qat - remove redundant prototypes in qat_c3xxx
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Wed, 26 Mar 2025 15:59:52 +0000 (15:59 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 7 Apr 2025 05:22:26 +0000 (13:22 +0800)
commit4fc54f67cb474a25d40c15e8cbdba4e1cdaea61a
treeae137ec15693f55b554cc4d96ee3dac4083f3cbc
parenta9a6e9279b2998e2610c70b0dfc80a234f97c76c
crypto: qat - remove redundant prototypes in qat_c3xxx

Move the definition of the adf_driver structure and remove the redundant
prototypes for the functions adf_probe() and adf_remove() in the
qat_c3xxx driver.

Also move the pci_device_id table close to where it is used and drop the
inner comma as it is not required.

This does not introduce any functional change.

Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_c3xxx/adf_drv.c