Apart from not really liking this approach, you've made the strtry()
function inlined. Any saving you might make with removing code from
the callers is probably more than lost due to all the extra inlined
code.
Did you compare the sizes of the stripped binary to see what the
effect of your patch is?
> Richard, please, apply this patch, if you find it useful. It is
> against devfsd-1.3.22. By the way, I've arranged the
> strrchr (devname, '/') + 1
> stuff, so this thing to be done once instead of multiply times in the
> original.
But you've inserted calls to strrchr in cases where it's not really
needed.
BTW: linux-kernel isn't the right place to discuss devfsd
development. The right place is devfs@oss.sgi.com (I've set Reply-To:
to do this).
Regards,
Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/