diff options
author | Marian Chereji <marian.chereji@freescale.com> | 2014-09-18 12:30:54 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:39:40 (GMT) |
commit | 549fc55809199f178b4a29c1a7ce0cdeedc2302a (patch) | |
tree | c4a4319499773731fc553dae865c6c06fed880e1 /drivers/atm | |
parent | 21b1cbb87f323f902946bcc0ee29b8d28254f32f (diff) | |
download | linux-fsl-qoriq-549fc55809199f178b4a29c1a7ce0cdeedc2302a.tar.xz |
dpa_offload: Remove dead code from "table_delete_entry_by_ref"
There is an unreachable code paragraph in function "table_delete_entry_by_ref".
The function doesn't work for indexed tables. In the first half, an error
is issued in this case. However, in the second half, another code paragraph
is testing again if the table type is "indexed". This branch will never
be reachable and was removed.
Change-Id: Ib200f49eafca8131d4c1696af2e61753ede41a3d
Signed-off-by: Marian Chereji <marian.chereji@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/19135
Reviewed-by: Radu-Andrei Bulie <Radu.Bulie@freescale.com>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions