const char *name, void *data)
{
struct remove_attribute_action_data *raad = data;
- int ret = osl_del_row(table, row);
unsigned char bitnum;
+ int ret;
+ ret = get_attribute_bitnum_by_name(name, &bitnum);
if (ret < 0) {
para_printf(&raad->pb, "%s: %s\n", name, PARA_STRERROR(-ret));
return 1;
}
- ret = get_attribute_bitnum_by_name(name, &bitnum);
+ ret = osl_del_row(table, row);
if (ret < 0) {
para_printf(&raad->pb, "%s: %s\n", name, PARA_STRERROR(-ret));
return 1;