Remove unused prev variable

This commit is contained in:
Julien BLACHE 2011-04-24 18:43:58 +02:00
parent f86915f15e
commit 2cead60432

View File

@ -1493,17 +1493,13 @@ device_remove_family(struct player_command *cmd)
{ {
struct raop_device *dev; struct raop_device *dev;
struct raop_device *rd; struct raop_device *rd;
struct raop_device *prev;
dev = cmd->arg.rd; dev = cmd->arg.rd;
prev = NULL;
for (rd = dev_list; rd; rd = rd->next) for (rd = dev_list; rd; rd = rd->next)
{ {
if (rd->id == dev->id) if (rd->id == dev->id)
break; break;
prev = rd;
} }
if (!rd) if (!rd)