diff options
author | Denis Bolotin <denis.bolotin@cavium.com> | 2018-04-23 14:56:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-23 12:05:57 -0400 |
commit | b60bfdfec5b8ec88552e75c8bd99f1ebfa66a6e0 (patch) | |
tree | 205544fbce065448aa3a523d36e31ac5a2d9ea10 /drivers/net/ethernet/qlogic/qed/qed_mcp.h | |
parent | 5f0456b43140af9413397cc11d03d18b9f2fc2fc (diff) | |
download | linux-b60bfdfec5b8ec88552e75c8bd99f1ebfa66a6e0.tar.gz linux-b60bfdfec5b8ec88552e75c8bd99f1ebfa66a6e0.tar.bz2 linux-b60bfdfec5b8ec88552e75c8bd99f1ebfa66a6e0.zip |
qed: Delete unused parameter p_ptt from mcp APIs
Since nvm images attributes are cached during driver load, acquiring ptt
is not needed when calling qed_mcp_get_nvm_image().
Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_mcp.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_mcp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_mcp.h b/drivers/net/ethernet/qlogic/qed/qed_mcp.h index 8a5c988d0c3c..dd62c38b3bd3 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_mcp.h +++ b/drivers/net/ethernet/qlogic/qed/qed_mcp.h @@ -486,7 +486,6 @@ struct qed_nvm_image_att { * @brief Allows reading a whole nvram image * * @param p_hwfn - * @param p_ptt * @param image_id - image requested for reading * @param p_buffer - allocated buffer into which to fill data * @param buffer_len - length of the allocated buffer. @@ -494,7 +493,6 @@ struct qed_nvm_image_att { * @return 0 iff p_buffer now contains the nvram image. */ int qed_mcp_get_nvm_image(struct qed_hwfn *p_hwfn, - struct qed_ptt *p_ptt, enum qed_nvm_images image_id, u8 *p_buffer, u32 buffer_len); |