mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
Remove dead code.
Found with: Coverity Prevent(tm) CID: 556
This commit is contained in:
parent
ee857ce73b
commit
f095d54f01
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192020
@ -796,14 +796,10 @@ static void
|
||||
atapi_async(void *callback_arg, u_int32_t code,
|
||||
struct cam_path* path, void *arg)
|
||||
{
|
||||
struct atapi_xpt_softc *softc;
|
||||
struct cam_sim *sim;
|
||||
int targ;
|
||||
|
||||
GIANT_REQUIRED;
|
||||
|
||||
sim = (struct cam_sim *) callback_arg;
|
||||
softc = (struct atapi_xpt_softc *) cam_sim_softc(sim);
|
||||
switch (code) {
|
||||
case AC_LOST_DEVICE:
|
||||
targ = xpt_path_target_id(path);
|
||||
|
Loading…
Reference in New Issue
Block a user