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

Move the definition of the adf_driver structure and remove the redundant
prototypes for the functions adf_probe() and adf_remove() in the
qat_dh895xxcc 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_dh895xcc/adf_drv.c