scsi: bfa: remove bfa_fcs_mod_s
authorChristoph Hellwig <hch@lst.de>
Sun, 8 Jan 2017 09:41:15 +0000 (10:41 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 10 Jan 2017 04:34:58 +0000 (23:34 -0500)
commit984dc46c5715fec4329861f93f30c76b8d680e8d
tree594ebf44654a68c0ed0c630d71853f1bd585422b
parent577419f70463378c224d4b92e31b22c2877c4389
scsi: bfa: remove bfa_fcs_mod_s

Just call the functions directly instead of obsfucating the call chain.
This was in reply to a patch from Kees Cook to constify the function
pointer struct bfa_fcs_mod_s, but it turns out there is no reason to
have this indirection at all.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bfa/bfa_fcs.c
drivers/scsi/bfa/bfa_fcs.h