diff options
author | Suganath Prabu S <suganath-prabu.subramani@broadcom.com> | 2019-05-31 08:14:34 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-06-18 19:46:25 -0400 |
commit | 078a4cc1380de7d4857e6db31c1d1ae9bdd56cc7 (patch) | |
tree | 70fcba5b3e1637765e3ed5c0dc02641b9c16c0a9 /drivers/md/dm-kcopyd.c | |
parent | 881a9a54da175aa5897b8fef7abe0f85a5242770 (diff) |
scsi: mpt3sas: function pointers of request descriptor
This code refactoring introduces function pointers.
Host uses Request Descriptors of different types for posting an entry onto
a request queue. Based on controller type and capabilities, host can also
use atomic descriptors other than normal descriptors. Using function
pointer will avoid if-else statements
Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/md/dm-kcopyd.c')
0 files changed, 0 insertions, 0 deletions