Male to Male Cord
I have a 40" HDTV on the bedroom wall. On the other side of the wall is the closet. On the closet shelf I put our DVR, PS3, and wireless phone jack all plugged into a Monster surge protector. I have a 4 hole outlet in the closet and a one hole outlet behind the TV on the wall. The TV outlet is recessed a little into the wall. I can plug the TV power cord into this outlet but there is no direct power. The "power" is run from that outlet up into my attic and then down to the outlet in the closet. This is so my TV can also be plugged into the surge protector and as there is no room by the TV to put one. How it is plugged in is with a homemade male to male 2' extension cord that goes from the outlet in the closet and then into the surge protector. It basically helps plug in the TV from the other wall. It is against code to just run the TV power cord through the wall and into the surge protector.
Any comments about this set-up? Safe? Alternate suggestions?