It is a double negative. The double negative as an expression of a strong negative is common in many non-standard versions of English. Pink Floyd was a band made up of highly educated Englishmen, who knew exactly what they were doing: breaking standard grammar rules in a way common in English working class dialects in order to issue a rallying cry for protest against a ruling elite and against the way stifling, repetitive and inadequate education was (seemed to them and others to be) sometimes forced on unwilling pupils, who needed and might have responded better to a wholly different approach to education. In the official video for the song. an old-style English schoolteacher finds a boy with a notebook with some poetry in it. He reads the poetry aloud to the class. mocking the boy. The poems are fragments from other Pink Floyd songs. Then the song "Another Brick in the Wall" starts up. It is an anthem in favour of individual self-expression and creativity.
Other songs you may know often feature another very familiar double negative used as a strong negative "Ain't got no ..." There is a whole Nina Simone song buit around this usage (Ain't Got No - I Got Life), and it appears in very many other lyrics. No native speaker. I'd imagine, is unaware of the intended meaning, and very very few will be unaware that this is breaking "standard grammar" rules.
It may amuse you to learn, if you do not already know, that is a trope about creative writing classes in English that they start with some sentiment along the lines of "You're not writing for your English teacher now. You are writing for us all. Use language we all understand, in ways that we find familiar, in ways that add power, beauty, shock or extra layers of meaning of whatever you are trying to say. This is no place for the grammar handbook."