Skip to content

Commit ff39134

Browse files
aguerinIntelherbertx
authored andcommitted
crypto: qat - remove unnecessary description from comment
Remove extra description from comments as it is not required. This is to fix the following warning when compiling the QAT driver using the clang compiler with CC=clang W=2: drivers/crypto/intel/qat/qat_common/adf_dev_mgr.c:65: warning: contents before sections drivers/crypto/intel/qat/qat_common/adf_isr.c:380: warning: contents before sections drivers/crypto/intel/qat/qat_common/adf_vf_isr.c:298: warning: contents before sections Signed-off-by: Adam Guerin <adam.guerin@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent a66cf93 commit ff39134

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

drivers/crypto/intel/qat/qat_common/adf_dev_mgr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ static int adf_get_vf_real_id(u32 fake)
6060

6161
/**
6262
* adf_clean_vf_map() - Cleans VF id mapings
63-
*
64-
* Function cleans internal ids for virtual functions.
6563
* @vf: flag indicating whether mappings is cleaned
6664
* for vfs only or for vfs and pfs
65+
*
66+
* Function cleans internal ids for virtual functions.
6767
*/
6868
void adf_clean_vf_map(bool vf)
6969
{

drivers/crypto/intel/qat/qat_common/adf_isr.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,6 @@ EXPORT_SYMBOL_GPL(adf_isr_resource_alloc);
380380
/**
381381
* adf_init_misc_wq() - Init misc workqueue
382382
*
383-
* Function init workqueue 'qat_misc_wq' for general purpose.
384-
*
385383
* Return: 0 on success, error code otherwise.
386384
*/
387385
int __init adf_init_misc_wq(void)

drivers/crypto/intel/qat/qat_common/adf_vf_isr.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,6 @@ EXPORT_SYMBOL_GPL(adf_flush_vf_wq);
293293
/**
294294
* adf_init_vf_wq() - Init workqueue for VF
295295
*
296-
* Function init workqueue 'adf_vf_stop_wq' for VF.
297-
*
298296
* Return: 0 on success, error code otherwise.
299297
*/
300298
int __init adf_init_vf_wq(void)

0 commit comments

Comments
 (0)