Salting helps remove excess moisture from the eggplant, leading to a more tender texture (not to mention additional seasoning from the salt!). If you don't salt the eggplant, the dish will still be good, but the texture may be slightly more firm. Larger eggplants also tend to taste more bitter without the salt.