diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-08-31 18:09:09 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-09-30 01:13:42 -0400 |
commit | 4aef26db1921eab37366f1c79c4bde57b53061dc (patch) | |
tree | 4514c59635a4c11f9f68bb52e1425696cb52a800 /drivers/gpu/nvgpu/gk20a/gk20a.c | |
parent | 6673932c4e3bdaacecdada8db1aaa980bdcfcd40 (diff) |
gpu: nvgpu: Remove duplicate error on firmware load
Both gk20a_request_firmware() and its callers wrote an error when a
file could not be found. Remove the error in
gk20a_request_firmware().
JIRA DNVGPU-143
Change-Id: I74cb6a6774762732d7702f1eadbeef19dcb9a85e
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1211612
(cherry picked from commit 818364189036c6732b19682debb63a033c6a6c2a)
Reviewed-on: http://git-master/r/1229491
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index c9f84041..51384933 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -2098,11 +2098,6 @@ gk20a_request_firmware(struct gk20a *g, const char *fw_name) | |||
2098 | } | 2098 | } |
2099 | #endif | 2099 | #endif |
2100 | 2100 | ||
2101 | if (!fw) { | ||
2102 | dev_err(dev, "failed to get firmware\n"); | ||
2103 | return NULL; | ||
2104 | } | ||
2105 | |||
2106 | return fw; | 2101 | return fw; |
2107 | } | 2102 | } |
2108 | 2103 | ||