udev/cdrom: drop never hit condition
This commit is contained in:
committed by
Luca Boccassi
parent
0dd6189f8c
commit
2af5ad50d1
@@ -688,8 +688,6 @@ static int cd_media_toc(Context *c) {
|
||||
|
||||
if (len > sizeof(toc))
|
||||
return -1;
|
||||
if (len < 2)
|
||||
return -1;
|
||||
/* empty media has no tracks */
|
||||
if (len < 8)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user