Skip to content
Snippets Groups Projects
user avatar
Dan Carpenter authored
btrfs_get_extent() never returns NULL pointers, so this code introduces
a static checker warning.

The btrfs_get_extent() is a bit complex, but trust me that it doesn't
return NULLs and also if it did we would trigger the BUG_ON(!em) before
the last return statement.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
[ updated subject ]
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
9986277e
History
Name Last commit Last update