yes, if u do not choose it when config, then it will not be compiled into kernel and kernel can be very small. that is why many embedded linux system can be very small. of course, u can choose to delete some code that is useless for u and unconfigurable.