Dutt's move came just days after Amar Singh quit as SP general secretary.
Addressing a press conference at his Bandra residence here, Dutt said, "When the Supreme Court did not give me a chance to contest Lok Sabha elections, Amar Singh made me the general secretary of the party."
"If he is no more the general secretary, I am also quitting the post today," said Dutt.
"Amar Singh was hurt by many people in the party. I am also feeling hurt that he was hurt. If he is not the national general secretary, I will also not be in the same post."
Dutt ruled out resigning from the party for the time being.
"We (actors) are touchy people..I feel hurt. I had slogged in UP polls but there is no recognition for this in the party. I am happy that I am quitting the post," he added.