It can be! Salt is not known from Quran or sunnah to have any effect on such things! It might be a way to get closer to the Jinn so that they would leave the people alone and this would be shirk.

Read more