Using a standard no-op is a bit tricky as some fn return an int and some
void, but maybe I can use something like the attached patch?
Looks good to me.
Actually after thinking about this some more I'm leaving the ifs in there,
there are few places in the code where it does more than just
On Thu, 2004-08-12 at 05:25 +0100, Dave Airlie wrote:
The only open issue I have is the ugliness of the
if (dev-fn_tbl.my_func)
dev-fn_tbl.my_func(x)
Using a standard no-op is a bit tricky as some fn return an int and some
void, but maybe I can use something like